<!--  授信列表 -->
<template>
  <div>
    <a-tabs v-model="tab">
      <a-tab-pane :key="1" tab="未审核"></a-tab-pane>
      <a-tab-pane :key="2" tab="申请撤销"></a-tab-pane>
      <a-tab-pane :key="3" tab="申请调额"></a-tab-pane>
      <a-tab-pane :key="4" tab="全部"></a-tab-pane>
    </a-tabs>
    <div v-if="tab===1">
      <Unreviewed></Unreviewed>
    </div>
    <div v-if="tab===2">
      <Revoke></Revoke>
    </div>
    <div v-if="tab===3">
      <AdjustQuota></AdjustQuota>
    </div>
    <div v-if="tab===4">
      <AllList></AllList>
    </div>
  </div>
</template>
<script>
import Unreviewed from './Unreviewed.vue'
import Revoke from './Revoke.vue'
import AdjustQuota from './AdjustQuota.vue'
import AllList from './AllList.vue'
export default {
   components: {
    Unreviewed, Revoke, AdjustQuota, AllList
  },
  data () {
    return {
      tab: 1
    }
  },
  methods: {
    search () {
      this.$refs.page.search()
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
